﻿namespace AiFrame.InterfaceLib.MVP
{
    /// <summary>
    /// Represents an extended, controllable data window.
    /// </summary>
    public interface IControllableDataWindowEx<T>: IControllableDataWindow<T>, IInputChangeable
    {
        /// <summary>
        /// Specifies the position index to determine the position
        /// the data window is inserted.
        /// 
        /// 0 - The first position index - Used by the main data window
        /// 100.. - The last position
        /// </summary>
        /// <returns></returns>
        int GetPositionIndex();

        /// <summary>
        /// Sets the container view.
        /// </summary>
        /// <param name="datenContainerView"></param>
        void SetContainerView(IDataContainerViewEx<T> datenContainerView);
        
    }
}
